﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace Skewworks.Win.Motif
{
    public interface IEmbeddedControl
    {
        string Name { get; }
        ISettings Settings { get; }
    }

    public interface ISettings
    {
        string Name { get; set; }
    }

    public interface IMotifPlugin
    {

        Bitmap[] ControlListImages { get; }
        string[] ControlListNames { get; }
        IEmbeddedControl DefaultWindowControl { get; }
        bool ProjectChanged { get; set; }
        string ProjectTypeName { get; }
        FileHeader[] AcceptedHeaders { get; }

        IEmbeddedControl ControlByTypeName(string typeName);
        bool SaveProject(string filename, IEmbeddedControl defaultWindow);
        bool OpenProject(string filename, int headerIndex, IEmbeddedControl defaultWindow);
    }

}
